#ifndef UDP_GET_H
#define UDP_GET_H
#include <QCoreApplication>
#include <QUdpSocket>
#include <QDebug>
#include <QResizeEvent>
#include <QUdpSocket>

#include <QObject>
#include <QPixmap>
#include <QLabel>


class Udp_get
{
public:
    Udp_get();

    QUdpSocket *udpSocket;


protected:
    void resizeEvent(QResizeEvent *event) override; // 重写 resizeEvent

private slots:
    void readPendingDatagrams();


};

#endif // UDP_GET_H
